SpriteFrame = SpriteFrame or Class("SpriteFrame")

---@diagnostic disable-next-line: duplicate-set-field
function SpriteFrame:ctor(image)
    self.image = image
    self.left = 0
    self.right = 0
    self.top = 0
    self.bottom = 0
    self.uvs = {
        0, 0,
        1, 0,
        1, 1,
        0, 1
    }
end

function SpriteFrame:getNativeSize()
    return self.image:getDimensions()
end